package com.xqboss.apps.domain.hama;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.xqboss.apps.domain.BaseTable;
import com.xqboss.apps.enums.hama.HamaMixLogHireEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 浑天池蛤蟆卡使用记录
 * </p>
 *
 * @author admin
 * @since 2024-02-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="HamaMixLog对象", description="浑天池蛤蟆卡使用记录")
public class HamaMixLog extends BaseTable implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "藏品（手环）id")
    private Long nftId;

    @ApiModelProperty(value = "藏品（手环）名称")
    @JsonIgnore
    @TableField(exist = false)
    private String nftName;

    @ApiModelProperty(value = "藏品（手环）图片路径")
    @TableField(exist = false)
    private String nftImg;

    @ApiModelProperty(value = "藏品（手环）数量")
    private Integer hamaNumber;

    @ApiModelProperty(value = "雇佣结束时间")
    @JsonIgnore
    private Date hireTime;

    @ApiModelProperty(value = "雇佣结束小时")
    @TableField(exist = false)
    private long hireHours;

    @ApiModelProperty(value = "1雇佣中 0解雇")
    private HamaMixLogHireEnum isHire;
}
